<?php
// 微信相关配置
return [
    // 微信公众号配置
    'official_account' => [
        'app_id' => env('wechat.official_account_app_id', ''),
        'secret' => env('wechat.official_account_secret', ''),
        'token' => env('wechat.official_account_token', ''),
        'aes_key' => env('wechat.official_account_aes_key', ''),
        'response_type' => 'array',
        'log' => [
            'level' => 'debug',
            'file' => runtime_path() . 'wechat.log',
        ],
        'http' => [
            'throw' => true,
            'timeout' => 5.0,
        ],
    ],
    
    // 微信开放平台配置
    'open_platform' => [
        'app_id' => env('wechat.open_platform_app_id', ''),
        'secret' => env('wechat.open_platform_secret', ''),
        'token' => env('wechat.open_platform_token', ''),
        'aes_key' => env('wechat.open_platform_aes_key', ''),
    ],
    
    // 微信支付配置
    'payment' => [
        'app_id' => env('wechat.payment_app_id', ''),
        'mch_id' => env('wechat.payment_mch_id', ''),
        'key' => env('wechat.payment_key', ''),
        'cert_path' => env('wechat.payment_cert_path', ''),
        'key_path' => env('wechat.payment_key_path', ''),
        'notify_url' => env('wechat.payment_notify_url', ''),
    ],
];